package bill.study.generics.effectivejava.item27;

public class GenericSingletonTester {
	public static void main(String args []){
		String [] strings ={ "jute", "hemp", "nylon"};
		UnaryFunction<String> sameString = IdentityFunctionSingleton.identityFunction();
		for(String str: strings){
			System.out.println(sameString.apply(str));
		}
	}
}
